package moxl.parser.assemblers.doctypedecl;

import moxl.parser.ParserException;
import moxl.parser.assemblers.CommonStateDelegateBase;
import moxl.tokenizer.TokenizerException;

public class DocumentTypeDeclarationStateDelegateBase extends CommonStateDelegateBase<DocumentTypeDeclarationAssemblerState>
{
	protected void acceptOpenChevronExclamationMark(DocumentTypeDeclarationAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	protected void acceptName(DocumentTypeDeclarationAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	protected void acceptSpace(DocumentTypeDeclarationAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	protected void acceptWhitespace(DocumentTypeDeclarationAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	protected void acceptDoctypeBody(DocumentTypeDeclarationAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	protected void acceptCloseChevron(DocumentTypeDeclarationAssemblerContext ctx) throws ParserException, TokenizerException
	{
		error(ctx);
	}

	private void error(DocumentTypeDeclarationAssemblerContext ctx) throws DocumentTypeDeclarationStateException
    {
	    throw new DocumentTypeDeclarationStateException(ctx);
    }

}
